using System.Configuration;
using System;

namespace Charisma
{
    public interface IDbProvider
    {
        IDatabase GetOrCreateDatabase(ConnectionStringSettings connectionSettings);

        void DropDatabase(ConnectionStringSettings connectionSettings);

        void Initialize(DbModel dbModel);

        CharismaException TranslateException(string message, Exception exception);
    }
}